package com.mashuai.utils.ztest.toolkit.tree;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName: TreeNode
 * @Author : mashuai
 * @Description: TODO
 */
@Data
public class TreeNode implements Serializable {

    private Integer id;

    private Integer pid;

    private String deptName;

    private List<TreeNode> treeNodes;

    public TreeNode(Integer id, Integer pid, String deptName) {
        this.id = id;
        this.pid = pid;
        this.deptName = deptName;
    }
}
